import http from "@/api";

/**
 * @name 制单模块
 */
// * 线路列表
export const lineList = (params: any) => {
	return http.post(`line/list`, params);
};
// * 货物类型
export const goodsListType = (params: any) => {
	return http.post(`goods/listType`, params);
};
// * 单个制单
export const orderCreate = (params: any) => {
	return http.post(`order/create`, params);
};
// * 渠道列表
export const listChannel = (params: any) => {
	return http.post(`line/listChannel`, params);
};
// * 批量制单
export const createBatch = (params: any) => {
	return http.post(`order/createBatch`, params);
};
// * 智能识别
export const AddressCorrect = (params: any) => {
	return http.post(`AddressCorrect`, params);
};
